package com.fresh.mapper;

import com.fresh.entity.RejIn;
import com.fresh.entity.RejInQO;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CiPinMapper {

    List<RejIn> findPageInfoByCondition(RejInQO rejInQO);

    @Insert("insert into rej_in values(#{rejId},#{roNo},#{cgNo},#{riName},#{cgGname},#{rejNum},#{rejUname},'次品仓库',#{rejIn},#{rejEnd},1)")
    void insert(RejIn rejIn);

}
